GUI Help > Menus > getMenuItemEnabled

getMenuItemEnabled
bool enabled=getMenuItemEnabled(handle menu, int item)

Description:
Retrieves the enabled / disabled status of a menu item.

Return Value:
0 if the item is disabled, 1 if the item is enabled.

Parameters:
menu Handle of a menu
item Number of the menu item you want to examine, this is the number you assigned to the item with addMenuItem
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)